input of a number in array